.class Lcom/brixd/niceapp/activity/BaseDetailActivity$16;
.super Ljava/lang/Object;
.source "BaseDetailActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/BaseDetailActivity;->initWidgetsAction()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 691
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 700
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceGotoPublishAppPage()V

    .line 702
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->getActivity()Landroid/app/Activity;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 703
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "GotoCommunity"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 704
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    instance-of v1, v1, Lcom/brixd/niceapp/activity/NiceAppDetailActivity;

    if-eqz v1, :cond_38

    .line 705
    const-string v1, "Type"

    const-string v2, "NiceDaily"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 709
    :cond_25
    :goto_25
    const-string v1, "ArticleId"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/BaseDetailActivity;->mAppModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 710
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->startActivity(Landroid/content/Intent;)V

    .line 717
    return-void

    .line 706
    :cond_38
    iget-object v1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$16;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    instance-of v1, v1, Lcom/brixd/niceapp/community/activity/CommunityDetailActivity;

    if-eqz v1, :cond_25

    .line 707
    const-string v1, "Type"

    const-string v2, "Community"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_25
.end method
